package com.yuntuzhilian.chapter7;

import com.yuntuzhilian.chapter6.Pet;

/**
 * @author MrWang-shuizhishuiheshui
 * @description 防盗门  继承抽象类Door  实现接口Lock
 */
public class FangDaoDoor extends Door implements Lock {
    @Override
    public void open() {
        System.out.println("大力神脚踹开门~~");
    }

    @Override
    public void close() {
        System.out.println("反手一勾,关上门~~");
    }

    @Override
    public void locked() {
        System.out.println("逆时针三圈上锁~~");
    }

    @Override
    public void unlock() {
        System.out.println("顺时针三圈开锁~~");
    }
}
